package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Jinda Yang on 2018/3/27.
 * Description :
 */

public class TopSearchAndClassificationBean extends BaseBean {

    /**
     * code : 200
     * data : {"searchCon":[{"id":"1","class_name":"全部"},{"id":"2","class_name":"活动"},{"id":"3","class_name":"新鲜事"},{"id":"4","class_name":"动态"}],"seaHot":[{"id":"1","hot_name":"乐舞"},{"id":"2","hot_name":"酷狗"},{"id":"3","hot_name":"告白季"},{"id":"5","hot_name":"vava"},{"id":"7","hot_name":"1"}]}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("searchCon")
        private List<SearchConBean> searchCon;
        @SerializedName("seaHot")
        private List<SeaHotBean> seaHot;

        public List<SearchConBean> getSearchCon() {
            return searchCon;
        }

        public void setSearchCon(List<SearchConBean> searchCon) {
            this.searchCon = searchCon;
        }

        public List<SeaHotBean> getSeaHot() {
            return seaHot;
        }

        public void setSeaHot(List<SeaHotBean> seaHot) {
            this.seaHot = seaHot;
        }

        public static class SearchConBean {
            /**
             * id : 1
             * class_name : 全部
             */

            @SerializedName("id")
            private String id;
            @SerializedName("class_name")
            private String className;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getClassName() {
                return className;
            }

            public void setClassName(String className) {
                this.className = className;
            }

            @Override
            public String toString() {
                return "SearchConBean{" +
                        "id='" + id + '\'' +
                        ", className='" + className + '\'' +
                        '}';
            }
        }

        public static class SeaHotBean {
            /**
             * id : 1
             * hot_name : 乐舞
             */

            @SerializedName("id")
            private String id;
            @SerializedName("hot_name")
            private String hotName;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getHotName() {
                return hotName;
            }

            public void setHotName(String hotName) {
                this.hotName = hotName;
            }

            @Override
            public String toString() {
                return "SeaHotBean{" +
                        "id='" + id + '\'' +
                        ", hotName='" + hotName + '\'' +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "searchCon=" + searchCon +
                    ", seaHot=" + seaHot +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "TopSearchAndClassificationBean{" +
                "code=" + code +
                ", data=" + data +
                '}';
    }
}
